projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de3b244
)
Avoid compiler warnings
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 20 Jul 2017 00:45:52 +0000
(20:45 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 20 Jul 2017 00:45:52 +0000
(20:45 -0400)
Initialize these variables, so gcc doesn't complain.
gtk/gtkcenterbox.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcenterbox.c
b/gtk/gtkcenterbox.c
index 8b89df50080fd458c859c1657f446e7dc3bb2d06..2e15f04ff774273dea018d09778fc7089230dd63 100644
(file)
--- a/
gtk/gtkcenterbox.c
+++ b/
gtk/gtkcenterbox.c
@@
-329,8
+329,8
@@
gtk_center_box_measure_opposite (GtkWidget *widget,
if (above_min >= 0)
{
- int min_baseline;
- int nat_baseline;
+ int min_baseline
= -1
;
+ int nat_baseline
= -1
;
total_min = MAX (total_min, above_min + below_min);
total_nat = MAX (total_nat, above_nat + below_nat);